<?php
namespace Application\Controller\form;

use Zend\Form\Form;
use Zend\Form\Element\File;
class ProfileUploadForm extends Form
{
    public function __construct($name = null, $options = array())
    {
        parent::__construct($name, $options);
        $this->addElements();
    }

    public function addElements()
    {
        // File Input
        $file = new File('profile-image');
        $file->setLabel('Avatar Image Upload')
             ->setAttribute('id', 'image-file');
        $this->add($file);
    }
}


?>